Skip to content

feat: verify optimized Keccacheck settlement proofs - #37

Draft
ozwaldorf wants to merge 3 commits into
feat/zk-receipt-circuitsfrom
feat/zk-keccachecheck-e2e
Draft

feat: verify optimized Keccacheck settlement proofs#37
ozwaldorf wants to merge 3 commits into
feat/zk-receipt-circuitsfrom
feat/zk-keccachecheck-e2e

Conversation

@ozwaldorf

Copy link
Copy Markdown
Member

Summary

  • replaces the embedded Groth16 verifying key with the key exported by MiragePrivacy/circuits#2
  • vendors a real proof generated by the optimized 4,034,927-constraint Keccacheck receipt circuit
  • preserves the existing collect ABI and two public statement limbs

Validation

  • EscrowZKTest: 9 passed, 0 failed
  • real optimized proof settles successfully
  • tampered proof and public signals are rejected
  • measured ZK collect gas: 258,354 in the fixture test

Stack

Draft until the circuit transcript is audited and the Nomad Fortanix build plus SGX hardware E2E completes.

@ozwaldorf

Copy link
Copy Markdown
Member Author

Matching Nomad E2E/SGX integration: MiragePrivacy/nomad#137. It pins this escrow bytecode, runs the optimized proof flow, configures a 16 GiB enclave heap, and includes per-stage timing logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant